{% extends "blog/base.xhtml" %}

{% block content-title %}{{ title }}{% endblock %}

{% block content-body %}
	{% if posts %}
	    {% load pagination_tags %}
	    {% autopaginate posts %}
	    {% for post in posts %}
	    	{% include "blog/snippets/post_brief.xhtml" %}
	    {% endfor %}
	
	    {% block content-bottom %}
	        {% paginate %}
	    {% endblock %}
	{% else %}
	    <div class="summary warning">No projects were found.</div>
	{% endif %}
{% endblock %}